projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724a985
)
container: fix wrong branching logic
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 18 Apr 2012 16:12:32 +0000
(12:12 -0400)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 18 Apr 2012 16:12:32 +0000
(12:12 -0400)
If the resize mode of the container was GTK_RESIZE_IMMEDIATE we would
also fall trough to the next case in the switch, and always throw an
assertion.
gtk/gtkcontainer.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcontainer.c
b/gtk/gtkcontainer.c
index 856df7d2eb5d356bce69d8ded4e090799e1c9b41..be686027886eb59904fe041c36990632262847d5 100644
(file)
--- a/
gtk/gtkcontainer.c
+++ b/
gtk/gtkcontainer.c
@@
-1721,6
+1721,7
@@
gtk_container_queue_resize_handler (GtkContainer *container)
case GTK_RESIZE_IMMEDIATE:
gtk_container_check_resize (container);
+ break;
case GTK_RESIZE_PARENT:
default: